package com.sourcetrip.raw.adt;

/**
 * @author: ZhouBert
 * @date: 2020/11/17
 * @description:	单链表中的节点元素
 */
public class MySingleNode<E> {

	private E element;

	private MySingleNode next;

	public MySingleNode(E element, MySingleNode next) {
		this.element = element;
		this.next = next;
	}

	public E getElement() {
		return element;
	}

	public void setElement(E element) {
		this.element = element;
	}

	public MySingleNode getNext() {
		return next;
	}

	public void setNext(MySingleNode next) {
		this.next = next;
	}
}
